package com.yonyou.cloud.member.libs.util;

import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;

public class DateTimeUtils {
    public static LocalDateTime fromTimestamp(long ts) {
        return Instant.ofEpochMilli(ts).atZone(ZoneId.systemDefault()).toLocalDateTime();
    }
}
